package com.leolian.spring01.lifecycle;


//implements InitializingBean,DisposableBean
public class BeanLifecycle {
	
	/*public void start(){
		System.out.println("bean start");
	}
	
	public void stop(){
		System.out.println("destory stop");
	}

	// 接口方法
	public void afterPropertiesSet() throws Exception {
		System.out.println("afterPropertiesSet");
	}
	
	public void destroy() throws Exception {
		System.out.println("destroy");
	}*/
	
	/*public void defaultInit(){
		System.out.println("defaultInit");
	}
	
	public void defaultDestory(){
		System.out.println("defaultDestory");
	}*/
	
}
